package com.opentae.data.mall.interfaces;

import com.opentae.core.mybatis.config.MyBatisRepository;
import com.opentae.core.mybatis.mapper.Mapper;
import com.opentae.data.mall.beans.MallSeller;
import org.apache.ibatis.annotations.Param;
import org.springframework.context.annotation.Lazy;
import org.springframework.context.annotation.Scope;

/**
 * 
 * Created by exampleCreater.
 */
@MyBatisRepository("tae_mall_mallSellerMapper")
@Scope("singleton")
@Lazy(true)
public interface MallSellerMapper extends Mapper<MallSeller> {
    /**
     *  是否有相同名称的
     *  在条件前BINARY 以区分大小写
     * @author 郭尔
     * @date 2019/1/12 10:59
     */
    int checkSameName(@Param("name")String name);
}
